// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "SurveillanceCameraManager.h"
#include "Blueprint/UserWidget.h"
#include "SurveillanceControlWidget.generated.h"


class USurveillanceCameraManager;

UCLASS()
class SURVEILLANCECAMERA_API USurveillanceControlWidget : public UUserWidget
{
	GENERATED_BODY()

	friend class USurveillanceCameraManager;
public:
	UPROPERTY(BlueprintReadOnly, meta=(ExposeOnSpawn))
	int32 CameraIndex = 0;

	UPROPERTY(BlueprintReadOnly, meta=(ExposeOnSpawn))
	USurveillanceCameraManager* SurveillanceCameraManager;
protected:
	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraOffset(FVector Offset);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraRotation(FRotator Rotator);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void EnableDebug(bool Debug);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraGlobal(bool bGlobal);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraActive(bool bActive);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraResolution(int32 Resolution = 256);

	UFUNCTION(BlueprintCallable, Category="SurveillanceCamera")
	void SetCameraFocalLength(float FocalLength = 35.f);
};
